import request from "@/utils/request";

// 邀约列表
export function getInviteListApi(data) {
  return request({
    url: "/api/customer.invite/index",
    method: "post",
    data,
  });
}

// 创建邀约
export function createInviteApi(data) {
  return request({
    url: "/api/customer.invite/create",
    method: "post",
    data
  });
}

// 更新邀约
export function updateInviteApi(data) {
  return request({
    url: "/api/customer.invite/save",
    method: "post",
    data,
  });
}

// 删除邀约
export function deleteInviteApi(data) {
  return request({
    url: "/api/customer.invite/delete",
    method: "post",
    data,
  });
}